#include "Rp2MaterialTextureEffect.h"

using namespace Rp2;

RP2_IMPLEMENT_RTTI(Rp2, MaterialTextureEffect, ShaderEffect);
RP2_IMPLEMENT_DEFAULT_NAME_ID(MaterialTextureEffect, ShaderEffect);

//---------------------------------------------------------------------------------------------------
MaterialTextureEffect::MaterialTextureEffect(const std::string& rkBaseName)
	:
	ShaderEffect(1)
{
	m_kVShader[0] = new VertexShader("MaterialTexture");
	m_kPShader[0] = new PixelShader("MaterialTexture");
	m_kPShader[0]->SetTexture(0, rkBaseName);
}
//---------------------------------------------------------------------------------------------------
MaterialTextureEffect::MaterialTextureEffect()
{
}
//---------------------------------------------------------------------------------------------------
MaterialTextureEffect::~MaterialTextureEffect()
{
}
//---------------------------------------------------------------------------------------------------